package kr.re.etri.snsenabler.server;

import kr.re.etri.snsenabler.server.db.SnsEnablerDbService;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;

abstract class AbstractServiceServlet extends RemoteServiceServlet {

	protected SnsEnablerDbService getDbService() {
		return (SnsEnablerDbService)getThreadLocalRequest().getSession().getServletContext().getAttribute(Constants.DB_SERVICE);
	}
}
